from xtquant import xtdata

all_stock_list = xtdata.get_stock_list_in_sector("沪深A股")
for stock in all_stock_list:
    r = xtdata.supply_history_data(stock, 'tick')
    print(r, stock)
    break
